<?php echo $this->doctype(); ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <?php echo $this->render('partial/headscript.phtml') ?>
        <script type="text/javascript">
            //snowStorm.snowColor = '#fff';
            //snowStorm.flakesMaxActive = 100;
            //snowStorm.useTwinkleEffect = true;
        </script>
    </head>
    <body>
        <div id="container">
            <div id="header">
                <?php echo $this->render('partial/header.phtml') ?>
            </div>
            <div id="main-menu">
            	<?php echo $this->render('partial/menu.phtml') ?>
            </div>
            <?php if(!(($this->app_controller == 'product' && $this->app_action == "detail")
                    || ($this->app_controller == "contact" && $this->app_action == 'index')
                    || ($this->app_controller == "article" && $this->app_action == 'index'))):
            ?>
            <div id="slide-show">
                <?php echo $this->render('partial/slide-show.phtml') ?>
            </div>
            <?php endif; ?>

            <div id="content">
                <?php echo $this->layout()->content ?>
            </div>
            <div class="clear"></div>
            <div class="footer-wrapper">
                <?php echo $this->render('partial/footer.phtml')?>
            </div>
        </div>


        <script type="text/javascript">
          var _gaq = _gaq || [];
          _gaq.push(['_setAccount', 'UA-36800438-1']);
          _gaq.push(['_trackPageview']);

          (function() {
            var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
          })();
        </script>
    </body>
</html>